package com.steven.ourcontest.net

import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response

abstract class RetrofitCallback<T> : Callback<T> {
    override fun onResponse(
        call: Call<T>,
        response: Response<T>
    ) {
    }

    override fun onFailure(call: Call<T>, t: Throwable) {
    }

    open fun onLoading(total: Long, progress: Long) {}
}